<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.9.3"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>SSDP Help: ATColorMap</title>
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="../../jquery.js"></script>
<script type="text/javascript" src="../../dynsections.js"></script>
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">SSDP Help<span id="projectnumber">&#160;2.04.01</span>
   </div>
   <div id="projectbrief">仅供测试</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.9.3 -->
<script type="text/javascript" src="../../menudata.js"></script>
<script type="text/javascript" src="../../menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('../../',false,false,'search.php','搜索');
});
/* @license-end */
</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-types">Public 类型</a> &#124;
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="../../dc/de1/struct_a_t_color_map-members.html">所有成员列表</a>  </div>
  <div class="headertitle"><div class="title">ATColorMap<span class="mlabels"><span class="mlabel">abstract</span></span></div></div>
</div><!--header-->
<div class="contents">

<p>颜色字典  
 <a href="../../dc/d6c/struct_a_t_color_map.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="../../d6/d5b/_a_t_color_map_8h_source.html">ATColorMap.h</a>&gt;</code></p>

<p>继承自 RefCountedBase .</p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-types" name="pub-types"></a>
Public 类型</h2></td></tr>
<tr class="memitem:a6b7c68612d108b7d324f00340d11df04"><td class="memItemLeft" align="right" valign="top"><a id="a6b7c68612d108b7d324f00340d11df04" name="a6b7c68612d108b7d324f00340d11df04"></a>enum &#160;</td><td class="memItemRight" valign="bottom"><b>Entries</b> { <br />
&#160;&#160;<b>INDEX_Count</b> = 268
, <b>INDEX_ByLevel</b> = 257
, <b>INDEX_ByCell</b> = 256
, <b>INDEX_ColorCount</b> = 256
, <br />
&#160;&#160;<b>INDEX_Background</b> = 255
, <b>INDEX_Invalid</b> = -1
<br />
 }</td></tr>
<tr class="separator:a6b7c68612d108b7d324f00340d11df04"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-methods" name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a077c2a147c681e5c222788685ebaaad8"><td class="memItemLeft" align="right" valign="top"><a id="a077c2a147c681e5c222788685ebaaad8" name="a077c2a147c681e5c222788685ebaaad8"></a>
ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsSame</b> (ATColorMapP otherMap, bool ignoreBG=true)</td></tr>
<tr class="separator:a077c2a147c681e5c222788685ebaaad8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab8155bfee2f7a812357b1f331096cc0a"><td class="memItemLeft" align="right" valign="top"><a id="ab8155bfee2f7a812357b1f331096cc0a" name="ab8155bfee2f7a812357b1f331096cc0a"></a>
ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>AdjustValueAndSaturation</b> (double valueAdjustment, double saturationAdjustment, bool valueAndSaturationFixed, double hueValue, bool hueFixed)</td></tr>
<tr class="separator:ab8155bfee2f7a812357b1f331096cc0a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ab1e4fe5048502e2da8be3eeacc0a8a43"><td class="memItemLeft" align="right" valign="top"><a id="ab1e4fe5048502e2da8be3eeacc0a8a43" name="ab1e4fe5048502e2da8be3eeacc0a8a43"></a>
ATDATACORE_EXPORT UInt32 *&#160;</td><td class="memItemRight" valign="bottom"><b>GetTbgrColorsP</b> ()</td></tr>
<tr class="separator:ab1e4fe5048502e2da8be3eeacc0a8a43"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5ad6c3275f4d425ebe20c63ad22c581b"><td class="memItemLeft" align="right" valign="top"><a id="a5ad6c3275f4d425ebe20c63ad22c581b" name="a5ad6c3275f4d425ebe20c63ad22c581b"></a>
ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>GetRgbColors</b> (RgbColorDef *colors)</td></tr>
<tr class="separator:a5ad6c3275f4d425ebe20c63ad22c581b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7d57fc315ddd444079ca1170ba0736a5"><td class="memItemLeft" align="right" valign="top"><a id="a7d57fc315ddd444079ca1170ba0736a5" name="a7d57fc315ddd444079ca1170ba0736a5"></a>
ATDATACORE_EXPORT void&#160;</td><td class="memItemRight" valign="bottom"><b>GetHsvColors</b> (HsvColorDef *colors)</td></tr>
<tr class="separator:a7d57fc315ddd444079ca1170ba0736a5"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a04244e6a22aa4ea350482bbecc62005b"><td class="memItemLeft" align="right" valign="top"><a id="a04244e6a22aa4ea350482bbecc62005b" name="a04244e6a22aa4ea350482bbecc62005b"></a>
ATDATACORE_EXPORT IntColorDef const &amp;&#160;</td><td class="memItemRight" valign="bottom"><b>GetColor</b> (int index)</td></tr>
<tr class="separator:a04244e6a22aa4ea350482bbecc62005b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a83302ba0e00cfb687638c9f655806352"><td class="memItemLeft" align="right" valign="top"><a id="a83302ba0e00cfb687638c9f655806352" name="a83302ba0e00cfb687638c9f655806352"></a>
ATDATACORE_EXPORT UInt32&#160;</td><td class="memItemRight" valign="bottom"><b>FindClosestMatch</b> (IntColorDef const &amp;colorDef, HsvColorDef *preComputedHSVTab=NULL)</td></tr>
<tr class="separator:a83302ba0e00cfb687638c9f655806352"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a392c6d278df52b4ff8d2bcbf77c124d8"><td class="memItemLeft" align="right" valign="top"><a id="a392c6d278df52b4ff8d2bcbf77c124d8" name="a392c6d278df52b4ff8d2bcbf77c124d8"></a>
ATDATACORE_EXPORT StatusInt&#160;</td><td class="memItemRight" valign="bottom"><b>SetForFile</b> (ATProjectP atProj, WCharCP name)</td></tr>
<tr class="separator:a392c6d278df52b4ff8d2bcbf77c124d8"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a id="pub-static-methods" name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:a807f37731888749b1c60cacb6c0fe2e7"><td class="memItemLeft" align="right" valign="top"><a id="a807f37731888749b1c60cacb6c0fe2e7" name="a807f37731888749b1c60cacb6c0fe2e7"></a>
static ATDATACORE_EXPORT UInt32&#160;</td><td class="memItemRight" valign="bottom"><b>GetObjectColor</b> (IntColorDef const &amp;colorDef, WCharCP bookName, WCharCP colorName, ATProjectR atProj, bool createIfNotPresent)</td></tr>
<tr class="separator:a807f37731888749b1c60cacb6c0fe2e7"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad8bc95f82b9cb8d1b3405b5b369494a8"><td class="memItemLeft" align="right" valign="top"><a id="ad8bc95f82b9cb8d1b3405b5b369494a8" name="ad8bc95f82b9cb8d1b3405b5b369494a8"></a>
static ATDATACORE_EXPORT UInt32&#160;</td><td class="memItemRight" valign="bottom"><b>FindObjectColor</b> (IntColorDef const &amp;colorDef, WCharCP bookName, WCharCP colorName, ATProjectR atProj)</td></tr>
<tr class="separator:ad8bc95f82b9cb8d1b3405b5b369494a8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aea47d87d6e79aa419a4a859026550aa1"><td class="memItemLeft" align="right" valign="top"><a id="aea47d87d6e79aa419a4a859026550aa1" name="aea47d87d6e79aa419a4a859026550aa1"></a>
static ATDATACORE_EXPORT byte const *&#160;</td><td class="memItemRight" valign="bottom"><b>GetRawDwgColorsP</b> (bool useAdjustedColors=false)</td></tr>
<tr class="separator:aea47d87d6e79aa419a4a859026550aa1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a5b8197acc5dcc66936fa045c5e180de3"><td class="memItemLeft" align="right" valign="top"><a id="a5b8197acc5dcc66936fa045c5e180de3" name="a5b8197acc5dcc66936fa045c5e180de3"></a>
static ATDATACORE_EXPORT bool&#160;</td><td class="memItemRight" valign="bottom"><b>IsTrueColorIndex</b> (UInt32 colorIndex)</td></tr>
<tr class="separator:a5b8197acc5dcc66936fa045c5e180de3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a419496e2aadec68832dc94bea782950d"><td class="memItemLeft" align="right" valign="top"><a id="a419496e2aadec68832dc94bea782950d" name="a419496e2aadec68832dc94bea782950d"></a>
static ATDATACORE_EXPORT ATColorMapPtr&#160;</td><td class="memItemRight" valign="bottom"><b>CreateFromRgbColors</b> (RgbColorDef const *colors)</td></tr>
<tr class="separator:a419496e2aadec68832dc94bea782950d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ada3cfbfa5ac76055beeb08bee8bd5883"><td class="memItemLeft" align="right" valign="top"><a id="ada3cfbfa5ac76055beeb08bee8bd5883" name="ada3cfbfa5ac76055beeb08bee8bd5883"></a>
static ATDATACORE_EXPORT ATColorMapPtr&#160;</td><td class="memItemRight" valign="bottom"><b>CreateFromTbgrColors</b> (UInt32 const *colors)</td></tr>
<tr class="separator:ada3cfbfa5ac76055beeb08bee8bd5883"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a71e11072c3012d62b931b08431dccf20"><td class="memItemLeft" align="right" valign="top"><a id="a71e11072c3012d62b931b08431dccf20" name="a71e11072c3012d62b931b08431dccf20"></a>
static ATDATACORE_EXPORT ATColorMapPtr&#160;</td><td class="memItemRight" valign="bottom"><b>CreateDefaultForFileType</b> (ATProjectFormatType format)</td></tr>
<tr class="separator:a71e11072c3012d62b931b08431dccf20"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a25c281000e6c58b2307c368b53484d7d"><td class="memItemLeft" align="right" valign="top"><a id="a25c281000e6c58b2307c368b53484d7d" name="a25c281000e6c58b2307c368b53484d7d"></a>
static ATDATACORE_EXPORT ATColorMapP&#160;</td><td class="memItemRight" valign="bottom"><b>GetForDisplay</b> (ATSceneRefP SceneRef)</td></tr>
<tr class="separator:a25c281000e6c58b2307c368b53484d7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a6773932e8f2bd7b28869479a02366714"><td class="memItemLeft" align="right" valign="top"><a id="a6773932e8f2bd7b28869479a02366714" name="a6773932e8f2bd7b28869479a02366714"></a>
static ATDATACORE_EXPORT ATColorMapP&#160;</td><td class="memItemRight" valign="bottom"><b>GetForFile</b> (ATProjectP atProj)</td></tr>
<tr class="separator:a6773932e8f2bd7b28869479a02366714"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad627d8bad437870d0ca2d8c65507086d"><td class="memItemLeft" align="right" valign="top"><a id="ad627d8bad437870d0ca2d8c65507086d" name="ad627d8bad437870d0ca2d8c65507086d"></a>
static ATDATACORE_EXPORT StatusInt&#160;</td><td class="memItemRight" valign="bottom"><b>GetColorTableDescription</b> (WCharP name, int bufferSize, ATProjectP atProj)</td></tr>
<tr class="separator:ad627d8bad437870d0ca2d8c65507086d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:abeb371cef79e82b8dc5a8f6b5a11fafb"><td class="memItemLeft" align="right" valign="top">static ATDATACORE_EXPORT StatusInt&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6c/struct_a_t_color_map.html#abeb371cef79e82b8dc5a8f6b5a11fafb">ExtractObjectColorInfo</a> (IntColorDef *colorDef, UInt32 *colorIndex, bool *isTrueColor, WStringP bookName, WStringP colorName, UInt32 objectColor, ATProjectR atProj)</td></tr>
<tr class="memdesc:abeb371cef79e82b8dc5a8f6b5a11fafb"><td class="mdescLeft">&#160;</td><td class="mdescRight">获取给定的元素颜色ID对应的颜色信息  <a href="../../dc/d6c/struct_a_t_color_map.html#abeb371cef79e82b8dc5a8f6b5a11fafb">更多...</a><br /></td></tr>
<tr class="separator:abeb371cef79e82b8dc5a8f6b5a11fafb"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ad66672ed63ce893c31faa2a1f66c0f5d"><td class="memItemLeft" align="right" valign="top">static ATDATACORE_EXPORT UInt32&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="../../dc/d6c/struct_a_t_color_map.html#ad66672ed63ce893c31faa2a1f66c0f5d">CreateObjectColor</a> (IntColorDef const &amp;colorDef, WCharCP bookName, WCharCP colorName, ATProjectR atProj)</td></tr>
<tr class="memdesc:ad66672ed63ce893c31faa2a1f66c0f5d"><td class="mdescLeft">&#160;</td><td class="mdescRight">使用给定的颜色创建能够存储到元素上的元素颜色ID  <a href="../../dc/d6c/struct_a_t_color_map.html#ad66672ed63ce893c31faa2a1f66c0f5d">更多...</a><br /></td></tr>
<tr class="separator:ad66672ed63ce893c31faa2a1f66c0f5d"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p >颜色字典 </p>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/28 </dd></dl>
</div><h2 class="groupheader">成员函数说明</h2>
<a id="ad66672ed63ce893c31faa2a1f66c0f5d" name="ad66672ed63ce893c31faa2a1f66c0f5d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ad66672ed63ce893c31faa2a1f66c0f5d">&#9670;&nbsp;</a></span>CreateObjectColor()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATDATACORE_EXPORT UInt32 ATColorMap::CreateObjectColor </td>
          <td>(</td>
          <td class="paramtype">IntColorDef const &amp;&#160;</td>
          <td class="paramname"><em>colorDef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>bookName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WCharCP&#160;</td>
          <td class="paramname"><em>colorName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATProjectR&#160;</td>
          <td class="paramname"><em>atProj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>使用给定的颜色创建能够存储到元素上的元素颜色ID </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">IntColorDef</td><td>const &amp; colorDef </td></tr>
    <tr><td class="paramname">WCharCP</td><td>bookName </td></tr>
    <tr><td class="paramname">WCharCP</td><td>colorName </td></tr>
    <tr><td class="paramname">ATProjectR</td><td>atProj </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT UInt32</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<a id="abeb371cef79e82b8dc5a8f6b5a11fafb" name="abeb371cef79e82b8dc5a8f6b5a11fafb"></a>
<h2 class="memtitle"><span class="permalink"><a href="#abeb371cef79e82b8dc5a8f6b5a11fafb">&#9670;&nbsp;</a></span>ExtractObjectColorInfo()</h2>

<div class="memitem">
<div class="memproto">
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">static ATDATACORE_EXPORT StatusInt ATColorMap::ExtractObjectColorInfo </td>
          <td>(</td>
          <td class="paramtype">IntColorDef *&#160;</td>
          <td class="paramname"><em>colorDef</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UInt32 *&#160;</td>
          <td class="paramname"><em>colorIndex</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">bool *&#160;</td>
          <td class="paramname"><em>isTrueColor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WStringP&#160;</td>
          <td class="paramname"><em>bookName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">WStringP&#160;</td>
          <td class="paramname"><em>colorName</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">UInt32&#160;</td>
          <td class="paramname"><em>objectColor</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">ATProjectR&#160;</td>
          <td class="paramname"><em>atProj</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">static</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>获取给定的元素颜色ID对应的颜色信息 </p>
<dl class="params"><dt>参数</dt><dd>
  <table class="params">
    <tr><td class="paramname">IntColorDef</td><td>* colorDef </td></tr>
    <tr><td class="paramname">UInt32</td><td>* colorIndex </td></tr>
    <tr><td class="paramname">bool</td><td>* isTrueColor </td></tr>
    <tr><td class="paramname">WStringP</td><td>bookName </td></tr>
    <tr><td class="paramname">WStringP</td><td>colorName </td></tr>
    <tr><td class="paramname">UInt32</td><td>objectColor </td></tr>
    <tr><td class="paramname">ATProjectR</td><td>atProj </td></tr>
  </table>
  </dd>
</dl>
<dl class="section return"><dt>返回</dt><dd>ATDATACORE_EXPORT StatusInt</dd></dl>
<dl class="section author"><dt>作者</dt><dd>SZEWEC </dd></dl>
<dl class="section since"><dt>自从</dt><dd>2022/04/13 </dd></dl>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>D:/doxy/PublicAPI/ATDataCore/<a class="el" href="../../d6/d5b/_a_t_color_map_8h_source.html">ATColorMap.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.9.3
</small></address>
</body>
</html>
